@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Roboto:wght@700&family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Antique+Soft&display=swap');
@import 'bourbon';

body{
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
}
.stool_top p{
    position: absolute;
    bottom: 50%;
    right: 16%;
    font-size: 21pt;
    font-weight: bold;
}
main{
    width: auto;
}

.stool_top{
    position: relative;
    width: 100%;
    height: calc( 100vh - 90px);
}
.stool_top img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}
.stool_main{
    height: 100vh;
    margin: auto;
    width: 90%;
    display: block;
}
.main_img{
    height: 50%;
}
.main_img img{
    align-items: center;
    margin: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50%;
}
.main_text{
    height: 50%;
    width: 70%;
    align-items: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_text p {
    height: auto;
    font-size: 14pt;
    text-align: left;
}
.stool_sub{
    height: 100vh;
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.slide{
    width: 30%;
    height: 60%;
}
.slide_text{
    width: 40%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide_text p{
    height: auto;
    font-size: 14pt;
    text-align: left;
}
.slide_img{
    height: 100%;
    width: 100%;
}
.slide_img img{
    align-items: center;
    margin: auto;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: 50%;
}
.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}
.stool_end{
    height: 100vh;
    align-items: center;
    margin: auto;
    width: 90%;
    
    justify-content: space-around;
}
.end{
    display: flex;
}
.end_text{
    width: 30%;
}
.end_text p {
    height: auto;
    font-size: 14pt;
    text-align: left;
}
.end_img{
    width: 60%;
    margin: 10px;
}
.end_img img{
    align-items: center;
    margin: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50%;
}
/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:0.9s;
	animation-fill-mode:forwards;
    opacity: 0;
}
.text{
    font-family: 'Share Tech Mono', monospace;
}
@media screen and (max-width: 480px) {
    .stool_main{
        height: 100vh;
        margin: auto;
        width: 90%;
        display: block;
    }
    .main_img{
        
        height: 30%;
    }
    .main_img img{
        align-items: center;
        margin-top: 30%;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50%;
    }
    .main_text{
        height: 40%;
        width: 100%;
        align-items: center;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main_text p {
        height: auto;
        font-size: 10pt;
        text-align: left;
    }
    .stool_sub{
        height: 100vh;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 90%;
        display: block;
        justify-content: space-around;
        align-items: center;
    }
    .slide{
        width: 100%;
        height: 50%;
    }
    .slide_text{
        width: 100%;
        height: 50%;
        align-items: center;
        justify-content: center;
    }
    .slide_text p{
        height: auto;
        font-size: 10pt;
        text-align: left;
    }
    .slide_img{
        height: 100%;
        width: 100%;
    }
    .slide_img img{
        align-items: center;
        margin-top: auto;
        display: block;
        height: 100%;
        object-fit: cover;
        object-position: 50%;
    }
    .stool_end{
        height: 100vh;
        align-items: center;
        margin: auto;
        width: 90%;
        
    }
    .end{
        align-items: center;
        display: block;
        justify-content: space-around;
    }
    .end_text{
        width: 100%;
    }
    .end_text p {
        height: auto;
        font-size: 10pt;
        text-align: left;
    }
    .end_img{
        width: 90%;
        margin: 10px;
    }
    .end_img img{
        align-items: center;
        margin: auto;
        display: block;
        
        object-fit: cover;
        object-position: 50%;
    }
}
@keyframes slideTextX100 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:0.9s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}